package net.minecraft.client.audio;

public class SoundEventAccessor implements ISoundEventAccessor
{
    private final SoundPoolEntry entry;
    private final int weight;

    SoundEventAccessor(SoundPoolEntry entry, int weight)
    {
        this.entry = entry;
        this.weight = weight;
    }

    @Override
	public int getWeight()
    {
        return this.weight;
    }

    @Override
	public SoundPoolEntry cloneEntry()
    {
        return new SoundPoolEntry(this.entry);
    }
}
